<?php

/**
 * Entité modèle : Association article / image
 * Représente les associations entre les articles et les images :
 * images * <-> * articles
 * 
 * <b>Structure :</b>
 * <ul>
 *  <li>image_id</li>
 *	<li>article_id</li>
 * </ul>
 * 
 * @author Cyril Souti
 * @version 1.0
 * @package models
 *
 */
class Models_Content_LienArticle extends Models_TableGite
{
	protected $_name = 'content_lien_article';
	protected $_referenceMap = array(self::REFERENCE_LIEN => array('columns' => 'lien_id','refTableClass' => Models_Content_Lien::CLASS_NAME,'refColumns' => 'id'),
									 self::REFERENCE_ARTICLE => array('columns' => 'article_id','refTableClass' => Models_Content_Article::CLASS_NAME,'refColumns' => 'id'));
	
	const REFERENCE_LIEN = 'lien';
	const REFERENCE_ARTICLE = 'article';
	const CLASS_NAME = 'Models_Content_LienArticle';
}